<div class="bar bar-header bar-positive">
      <a class="button icon-left ion-chevron-left button-clear button-dark my-back-button" ng-click="back()"></a>
      <h1 class="title">{{title}}客户</h1>
      <div class="buttons">
        <button class="button header-button" ng-click="sure()">确定</button>
      </div>
</div>
<ion-content>
<div class="list m-top-45">
  <label class="item item-input">
    <span class="input-label">日期</span>
    <input type="date" placeholder="请输入日期" ng-model="customer.request_date">
  </label>
  <label class="item item-input">
    <span class="input-label">客户姓名</span>
    <input type="text" placeholder="请输入客户姓名" ng-model="customer.name">
  </label>
  <label class="item item-input">
    <span class="input-label">联系电话</span>
    <input type="text" placeholder="请输入联系电话" ng-model="customer.phone">
  </label>
  <!-- <label class="item item-input">
    <span class="input-label">身份证号码</span>
    <input type="text" placeholder="请输入身份证号码" ng-model="customer.idcard">
  </label> -->
  <label class="item item-input">
    <span class="input-label">客户属性</span>
    <select class="add-select" ng-model="customer.clientProperty" ng-options="x.value as x.keyword for x in g_clientType">
    </select>
  </label>
  <label class="item item-input">
    <span class="input-label">进件方式</span>
    <select class="add-select" ng-model="customer.intoWay" ng-options="x.value as x.keyword for x in g_document">
    </select>
  </label>
  <label class="item item-input">
    <span class="input-label">上牌人地点</span>
    <input type="text" placeholder="请输入上牌人地点" ng-model="customer.address">
  </label>
  <label class="item item-input">
    <span class="input-label">上牌人情况</span>
    <select class="add-select" ng-model="customer.situation" ng-options="x.value as x.keyword for x in g_condition">
    </select>
  </label>
  <label class="item item-input">
    <span class="input-label">品牌名称</span>
    <select class="add-select" ng-model="customer.brandId" ng-options="x.id as x.name for x in brands" ng-change="getStore()">
    </select>
  </label>
  <label class="item item-input">
    <span class="input-label">店面名称</span>
    <select class="add-select" ng-model="customer.companyId" ng-options="x.id as x.name for x in stores" ng-change="getCar()">
    </select>
  </label>
  <label class="item item-input">
    <span class="input-label">车辆型号</span>
    <select class="add-select" ng-model="customer.carId" ng-options="x.id as x.name for x in cars" ng-change="choosePeriod()">
    </select>
  </label>
  <label class="item item-input">
    <span class="input-label">销售人员</span>
    <select class="add-select" ng-model="customer.sellId" ng-options="x.id as x.name for x in sells">
    </select>
  </label>
  <label class="item item-input">
    <span class="input-label">贷款金额</span>
    <input type="number" placeholder="请输入贷款金额" ng-model="customer.money">
  </label>
  <label class="item item-input">
    <span class="input-label">期 数</span>
    <select class="add-select" ng-model="customer.periods" ng-options="x.value as x.keyword for x in g_periods" ng-change="choosePeriod()">
    </select>
  </label>
  <label class="item item-input">
    <span class="input-label">客户费率</span>
    <select class="add-select" ng-model="customer.clientRate" ng-options="x for x in clientSelect" ng-change="chooseClientFee()">
    </select>
  </label>
  <label class="item item-input">
    <span class="input-label">经销商费率</span>
    <input type="number" placeholder="请输入经销商费率" ng-model="customer.dealerRate">
  </label>
  <label class="item item-input">
    <span class="input-label">厂家费率</span>
    <input type="number" placeholder="请输入厂家费率" ng-model="customer.venderRate">
  </label>
  <label class="item item-input">
    <span class="input-label active">附加率</span>
  </label>
  <label class="item item-input">
    <span class="input-label">附加率金额</span>
    <input type="number" placeholder="请输入附加率金额" ng-model="customer.surchargeMoney">
  </label>
  <label class="item item-input">
    <span class="input-label">期 数</span>
    <select class="add-select" ng-model="customer.surchargePeriods" ng-options="x.value as x.keyword for x in g_periods">
    </select>
  </label>
  <label class="item item-input">
    <span class="input-label">客户费率</span>
     <input type="number" placeholder="请输入客户费率" ng-model="customer.surchargeClientRate">
  </label>
  <label class="item item-input">
    <span class="input-label">经销商费率</span>
    <input type="number" placeholder="请输入经销商费率" ng-model="customer.surchargeDealerRate">
  </label>
  <label class="item item-input">
    <span class="input-label">厂家费率</span>
    <input type="number" placeholder="请输入厂家费率" ng-model="customer.surchargeVenderRate">
  </label>
  <label class="item item-input">
    <span class="input-label">预审结果</span>
    <select class="add-select" ng-model="customer.prequalification" ng-options="x.value as x.keyword for x in g_preResult">
    </select>
  </label>
  <label class="item item-input">
    <span class="input-label">终审结果</span>
    <select class="add-select" ng-model="customer.the" ng-options="x.value as x.keyword for x in g_finallyResult">
    </select>
  </label>
  <label class="item item-input">
    <span class="input-label">进件时间</span>
    <input type="date" placeholder="请输入进件时间" ng-model="customer.into_date">
  </label>
  <label class="item item-input">
    <span class="input-label">同贷时间</span>
    <input type="date" placeholder="请输入同贷时间" ng-model="customer.loan_date">
  </label>
  <label class="item item-input">
    <span class="input-label">放款时间</span>
    <input type="date" placeholder="请输入放款时间" ng-model="customer.credit_date">
  </label>
  <label class="item item-input">
    <span class="input-label">是否抵押</span>
    <select class="add-select"  ng-model="customer.isPledge">
      <option value="1">是</option>
      <option value="0">否</option>
    </select>
   
  </label>
  <label class="item item-input">
    <span class="input-label">抵押跟进情况</span>
    <textarea ng-model="customer.pledgeDetail" placeholder="抵押跟进情况"></textarea>
  </label>
  <label class="item item-input">
    <span class="input-label">电联情况</span>
    <textarea ng-model="customer.contact" placeholder="电联情况"></textarea>
  </label>
  <label class="item item-input">
    <span class="input-label">备注</span>
    <textarea ng-model="customer.remark" placeholder="备注"></textarea>
  </label>
</div>
</ion-content>